package com.atbun.eduservice.service;

import com.atbun.eduservice.entity.EduTeacher;
import com.atbun.eduservice.entity.vo.TeacherQuery;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 * 讲师 服务类
 * </p>
 *
 * @author testjava
 * @since 2020-05-01
 */
public interface EduTeacherService extends IService<EduTeacher> {
//    条件搜索讲师与分页显示
    void pageQuery(Page<EduTeacher> pageParam, TeacherQuery teacherQuery);
// 客户端讲师分页列表
    Map<String, Object> pageTeacher(Page<EduTeacher> parman);
//根据讲师id查询讲师详情。
    EduTeacher getTeacherInfo(String id);
}
